package myzd.api.utils;

/**
 * @author liuqian
 * @date 2017/11/15 10:20.
 */
public class OperatorRoleUtils {

  public static String getRoleByDepartmentId(Integer departmentId) {
    String operatorRole = "";
    if (departmentId != null) {
      switch (departmentId) {
        case 4:
          operatorRole = "地推";
          break;
        case 16:
          operatorRole = "KA";
          break;
        case 6:
          operatorRole = "客服";
          break;
        case 7:
          operatorRole = "医学部";
          break;
        case 11:
        case 12:
        case 13:
        case 14:
          operatorRole = "测试";
          break;
        case 17:
        case 18:
          operatorRole = "运营";
          break;
        default:
          operatorRole = "系统";
          break;
      }
    }
    return operatorRole;
  }
}
